package com.cykj.service;

import com.cykj.dto.ResponseDto;
import com.cykj.pojo.PsUser;
import com.cykj.vo.UserVo;
import org.apache.ibatis.annotations.Param;

public interface UserService {
    //登录
    ResponseDto login(@Param("acc") String acc, @Param("pwd") String pwd, @Param("code") String code);

    ResponseDto reg(@Param("user")PsUser user);

    ResponseDto recharge(UserVo vo);
    //查询用户余额
    ResponseDto selectUserBalance(UserVo vo);
    //扣费
    ResponseDto deductions(UserVo vo);
    //咨询师加钱
    ResponseDto addMoney(UserVo vo);
}
